// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import BootstrapVue from 'bootstrap-vue'
import App from './App'
import router from './router'
import 'bootstrap/dist/css/bootstrap.min.css'
import 'bootstrap-vue/dist/bootstrap-vue.css'
import './assets/css/common.css'
import './assets/css/pure.css'
import VueAMap from 'vue-amap'
import axios from 'axios'
import VueAxios from 'vue-axios'
import Mint from 'mint-ui'
import 'mint-ui/lib/style.css'

Vue.use(BootstrapVue)
Vue.use(VueAxios, axios)
Vue.use(Mint)

Vue.use(VueAMap)
VueAMap.initAMapApiLoader({
    key: '22b90ad167db46aebc2a5bec7104afd3',
    plugin: ['AMap.Geolocation', 'AMap.PlaceSearch', 'AMap.Scale', 'AMap.OverView', 'AMap.ToolBar', 'AMap.MapType', 'AMap.PolyEditor', 'AMap.CircleEditor', 'AMap.ControlBar'],
    // 默认高德 sdk 版本为 1.4.4
    v: '1.4.5'
})
Vue.config.productionTip = false
    /* eslint-disable no-new */
new Vue({
    el: '#app',
    router,
    template: '<App/>',
    components: { App }
})